builder-tool: Don't allow property to be both resize and shrink
authorBenjamin Otte <otte@redhat.com>
Fri, 6 Mar 2020 04:29:46 +0000 (05:29 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 6 Mar 2020 04:44:11 +0000 (05:44 +0100)
commit317dcddddb76d2f87eee08e2b929b1b901c23aaa
treeb82ee17f6671902b705210901a3557599d8ced66
parentdf282a13bbd920c3aedf73bd0e6a93bb69841721
builder-tool: Don't allow property to be both resize and shrink

Otherwise builder-tool crashes when you do

  <property name="shrink" name="resize">1</property>

Thanks to the static analyzer for figuring that one out.
gtk/tools/gtk-builder-tool-simplify.c